package com.yunupmall.entity.admin.commoditypojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "specs")
public class UpSpecs {
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 规格名称
     */
    private String name;
    /**
     *  规格值
     */
    private String specsValue;
    /**
     * 价格
     */
    private double price;
    /**
     * 库存
     */
    private Integer stock;
}
